package com.qingcloud.adminbackend.entity.config;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author liuziyong
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dictionary_config")
public class SysDictionaryConfig extends Model {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id", example = "")
    private Integer id;

    /**
     * 代码
     */
    @ApiModelProperty(value = "编号", example = "12")
    private String code;

    @ApiModelProperty(value = "配置名称", example = "PM2.5")
    private String name;

    @ApiModelProperty(value = "父类ID", example = "1")
    private Integer parent;

    @ApiModelProperty(value = "排序序号", example = "1")
    private Integer orderNum;

    @ApiModelProperty(value = "类型", example = "1")
    private Integer type;

    /**
     * 删除标识，0正常 1删除
     */
    @ApiModelProperty(hidden = true)
    private Integer deleteFlag;

    @ApiModelProperty(value = "类型描述", example = "设备状态")
    private String typeDesc;

}
